import os


def red_on():
    os.system('echo default-on > /sys/class/leds/red_led/trigger')


def red_off():
    os.system('echo none > /sys/class/leds/red_led/trigger')


def green_on():
    os.system('echo default-on > /sys/class/leds/green_led/trigger')


def green_off():
    os.system('echo none > /sys/class/leds/green_led/trigger')